# Making a http request and reading json response from custom php script

**URL:** <https://community.dreamfactory.com/t/making-a-http-request-and-reading-json-response-from-custom-php-script/2322>\
**Category:** Server-Side Scripting\
**Created:** [March 6, 2016, 8:59pm UTC](https://community.dreamfactory.com/t/making-a-http-request-and-reading-json-response-from-custom-php-script/2322 "2016-03-06T20:59:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nvasilescu](https://avatars.discourse-cdn.com/v4/letter/n/e480ec/32.png) [@nvasilescu](https://community.dreamfactory.com/u/nvasilescu)\
**Post date:** [March 6, 2016, 8:59pm UTC](https://community.dreamfactory.com/t/making-a-http-request-and-reading-json-response-from-custom-php-script/2322/1 "2016-03-06T20:59:42Z")

</div>

I have been searching all day for how to make a http request to a certain link. The tutorial for scripting are few and not helping in this matter.

1. I have a public service(user doesn’t need to be logged in) that I call from a mobile application with 2 params using POST.
2. I read the params and I need to call a link that is formed using the params received.
3. I need to read the json from the http request and read a certain value and return as a response.

Thank you
