Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dbos1504's avatar

Json API - $POST

Need help? I have third party API, now, i need somehow to fetch that API, and then post to that API textarea ,and then to get the results from that API...

0 likes
10 replies
deepu07's avatar

can you elaborate more? do you want to display a response of textarea data?

dbos1504's avatar

@DEEPU07 - Hello, I got an API from some client, now that api is taking me to a page that has form with textarea, i need to fetch that page post to that form and get the results to my site. I need to post data to that form from my sites form

deepu07's avatar

Do you wanna save that results in your db or jus display?

dbos1504's avatar

@DEEPU07 - Ideal will be to save it to my database, try it with guzzle but no luck. Still new in Laravel...tnx

deepu07's avatar

It should work. I did a couple projects with guzzle. what err you're getting? May be you need an API key to access the API rqst

dbos1504's avatar

@DEEPU07 - When i try to fetch with guzzle, api is taking me to doc page, but when i click that link, is taking me to correct page with form and textarea, no keys needed

deepu07's avatar

without seeing code hard to debug the problem.

dbos1504's avatar

@DEEPU07 - I understand, the API is exclusive for me i can not show you (trust my i would, but i can get penaltis), any idea how to post to third party api form with guzzle

Please or to participate in this conversation.