Official comment
Hi IT User -
We don't provide support through the forums for custom coding topics, but you can submit your question to our Support team at support@ontraport.com. Here's the information they need in the email to escalate it to our developers:
1. What is the API script intended to do?
2. Please provide screenshots or the text of any errors you’re receiving.
3. We need the full request string or URL that you are using with example data filled in.
You can obtain this in three different ways. We recommend the third:
- By echoing out the variables when running the script then giving us the result or print out.
- By grabbing the URL from terminal (through Browser Network Tools)
- By using http://requestb.in/ To use this option which we recommend over the others, do the following: (1) Generate a URL at http://requestb.in/. An example can be found here: http://i.imgur.com/CBtBTQA.png. (2) Replace the URL in your API script. Here are examples of before: http://i.imgur.com/OMLdid6.png and after: http://i.imgur.com/32TU7lt.png. (3) Run the script. And (4), send us the “inspect link.” To do this final step, add **?inspect** to the end of the generated URL. This is an example of what this will look like: http://requestb.in/10878kg1?inspect
4. A copy of the full API script. This information is not essential like 1-3 but may be needed depending on the issue.
**Note:** For 3 and 4 we recommend that you create a document on pastebin.com and provide us with that instead of a file. This will format the script in a way that will help us troubleshoot! If you choose not to use pastebin.com, please send us the full request string and full API script as a .txt document.