javascript - how can I get response returned by Plaid api using script -
i trying connect plaid api using ruby. trying connect using <script>
tag. have connected api , there json object returned in response can see in browser's console. unable in code. code is
<%= form_for :user, method: :get, :html => { :id => "link-form-id" } |f| %> <% end %> <script src="https://cdn.plaid.com/link/stable/link-initialize.js" 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 well. dont understand how can <script>
tag. have searched on web couldn't useful stuff. can please me find out. appreciated. thanks
since method of form 'get' you'll need parse query string retrieve plaid link public_token (so want 'public_token' field in querystring).
Comments
Post a Comment