I am trying to connect to the Plaid api using Ruby. But I am trying to connect it using <script>
tag. I have successfully connected to their api and there is a json object returned in the response as I can see it in browser's console. But I am unable to get it in my code. My code is
<%= form_for :user, method: :get, :html => { :id => "link-form-id" } do |f| %>
<% end %>
<script
src="http://ift.tt/1LJxVUZ"
data-client-name="Mandeep"
data-client-id="**********"
data-form-id="link-form-id"
data-key="***********"
data-product="auth"
data-env="tartan">
</script>
This code returns json object in url as well. I dont understand how can I get it from <script>
tag. I have searched all over the web but couldn't get any useful stuff. Can you please help me to find this out. Your help would be appreciated. Thanks
Aucun commentaire:
Enregistrer un commentaire