# \#rest

**URL:** https://community.dreamfactory.com/tag/rest/8.md

[Latest](https://community.dreamfactory.com/latest.md) · [Categories](https://community.dreamfactory.com/categories.md) · [Tags](https://community.dreamfactory.com/tags.md)

---

## [REST API request parameter value = 0 issue](https://community.dreamfactory.com/t/rest-api-request-parameter-value-0-issue/5413)

<div class="topic-metadata">

**Author:** [@Vipin\_123](https://community.dreamfactory.com/u/Vipin_123)\
**Replies:** 1\
**Last updated:** [September 28, 2022, 10:27am UTC](https://community.dreamfactory.com/t/rest-api-request-parameter-value-0-issue/5413 "2022-09-28T10:27:17Z")

</div>

I am trying GET method with request parameters, Whenever I am trying to send request with request parameter value as 0 it consider it as null/empty once the request is forwarded to my application. If you pass parameter …

---

## [Authorization accepted but I cannot have the token and nor the APi key](https://community.dreamfactory.com/t/authorization-accepted-but-i-cannot-have-the-token-and-nor-the-api-key/5293)

<div class="topic-metadata">

**Author:** [@zion](https://community.dreamfactory.com/u/zion)\
**Replies:** 3\
**Last updated:** [May 30, 2021, 1:51pm UTC](https://community.dreamfactory.com/t/authorization-accepted-but-i-cannot-have-the-token-and-nor-the-api-key/5293 "2021-05-30T13:51:33Z")

</div>

Hi, I’m a Df beginer and C# newbie, however I have to connect to a DF rest and send files, I succeed to log in but the response from the HttpRequest doesnt show any “token”, I must precise that I did not produce the APi…

---

## [Http Service sends wrong context application type](https://community.dreamfactory.com/t/http-service-sends-wrong-context-application-type/5209)

<div class="topic-metadata">

**Author:** [@dx4](https://community.dreamfactory.com/u/dx4)\
**Replies:** 1\
**Last updated:** [July 31, 2020, 4:11pm UTC](https://community.dreamfactory.com/t/http-service-sends-wrong-context-application-type/5209 "2020-07-31T16:11:08Z")

</div>

I created a HTTP remote service through the open source DreamFactory. I encountered a major problem when testing the application. When I directly send GET and POST requests to the service (not through DF) the context ty…

---

## [Diferences in API (migration DF 2 to DF4)](https://community.dreamfactory.com/t/diferences-in-api-migration-df-2-to-df4/5157)

<div class="topic-metadata">

**Author:** [@arrezende](https://community.dreamfactory.com/u/arrezende)\
**Replies:** 0\
**Last updated:** [April 15, 2020, 4:58pm UTC](https://community.dreamfactory.com/t/diferences-in-api-migration-df-2-to-df4/5157 "2020-04-15T16:58:41Z")

</div>

Hi Guys! I’ve been migration my DF from 2.0 to 4.0 and today the tests were started. When the APIs call a table it’s ok, but when call a function or procedure there are differences in response. For example Case 1 I c…

---

## [Swagger definition error - Could not resolve reference](https://community.dreamfactory.com/t/swagger-definition-error-could-not-resolve-reference/4200)

<div class="topic-metadata">

**Author:** [@Victoria\_Dimitrova](https://community.dreamfactory.com/u/Victoria_Dimitrova)\
**Replies:** 4\
**Last updated:** [March 27, 2020, 3:56pm UTC](https://community.dreamfactory.com/t/swagger-definition-error-could-not-resolve-reference/4200 "2020-03-27T15:56:15Z")

</div>

Hi, I am new in Dream Factory community and I juste install Bitnami windows version locally in order to try it. I am interessed into creating Remote Services API and I try to put a swagger definition getting the Swagge…

---

## [Undefined offset: 1 while registering user from Services](https://community.dreamfactory.com/t/undefined-offset-1-while-registering-user-from-services/4958)

<div class="topic-metadata">

**Author:** [@Ved\_Prakash](https://community.dreamfactory.com/u/Ved_Prakash)\
**Replies:** 1\
**Last updated:** [June 20, 2019, 10:25am UTC](https://community.dreamfactory.com/t/undefined-offset-1-while-registering-user-from-services/4958 "2019-06-20T10:25:33Z")

</div>

Hi, We had a script which was registering user through Server Side script which looks like this $options = \[\]; $options\['headers'\] = \[\]; $options\['headers'\]\['X-DreamFactory-Api-Key'\] = $platform\['session'\]\['api\_key'\]; $…

---

## [Design and create dashboard using Dreamfactory tools](https://community.dreamfactory.com/t/design-and-create-dashboard-using-dreamfactory-tools/4431)

<div class="topic-metadata">

**Author:** [@Sanji85](https://community.dreamfactory.com/u/Sanji85)\
**Replies:** 4\
**Last updated:** [September 21, 2018, 5:12am UTC](https://community.dreamfactory.com/t/design-and-create-dashboard-using-dreamfactory-tools/4431 "2018-09-21T05:12:46Z")

</div>

Hey we are using wireless sensor to interface pycom and we are using python library with to read the data from temperature sensor, following some of my doubts which I need to clear Can we integrate python library with …

---

## [Error and showing nothing](https://community.dreamfactory.com/t/error-and-showing-nothing/4438)

<div class="topic-metadata">

**Author:** [@MD\_Kamal\_Hossain\_Sha](https://community.dreamfactory.com/u/MD_Kamal_Hossain_Sha)\
**Replies:** 3\
**Last updated:** [January 10, 2019, 8:54pm UTC](https://community.dreamfactory.com/t/error-and-showing-nothing/4438 "2019-01-10T20:54:28Z")

</div>

please help me in this issue, When I clicked on apps, admin, users, services shows me this message “There was an error loading data for the Admins tab. Please try refreshing your browser and logging in again.” and no con…

---

## [SCHEMA API 2.12.0 return Primary key as Array earlier in DF 2.10.0 return string for Primary key](https://community.dreamfactory.com/t/schema-api-2-12-0-return-primary-key-as-array-earlier-in-df-2-10-0-return-string-for-primary-key/4474)

<div class="topic-metadata">

**Author:** [@rahularyansharma](https://community.dreamfactory.com/u/rahularyansharma)\
**Replies:** 1\
**Last updated:** [June 11, 2018, 7:39am UTC](https://community.dreamfactory.com/t/schema-api-2-12-0-return-primary-key-as-array-earlier-in-df-2-10-0-return-string-for-primary-key/4474 "2018-06-11T07:39:28Z")

</div>

Hello All, we were using previous version of DreamFactory 2.10.0 in which SCHEMA API returns Primary key as sting but in 2.12.0 I can see that Primary key as an Array. Earlier we are using 2.10.0 on window environment …

---

## [Failed to access using rest easy](https://community.dreamfactory.com/t/failed-to-access-using-rest-easy/4471)

<div class="topic-metadata">

**Author:** [@MD\_Kamal\_Hossain\_Sha](https://community.dreamfactory.com/u/MD_Kamal_Hossain_Sha)\
**Replies:** 2\
**Last updated:** [June 9, 2018, 7:22am UTC](https://community.dreamfactory.com/t/failed-to-access-using-rest-easy/4471 "2018-06-09T07:22:20Z")

</div>

I am trying to access api using rest easy. api\_key here is the api key of api\_docs app. it only works if I authenticate using admin user…If I use any other user it wont work. either. \[Screenshot%20from%202018-06-08%2021…

---

## [Getting Invalid or unparsable field always](https://community.dreamfactory.com/t/getting-invalid-or-unparsable-field-always/4436)

<div class="topic-metadata">

**Author:** [@Ved\_Prakash](https://community.dreamfactory.com/u/Ved_Prakash)\
**Replies:** 2\
**Last updated:** [May 29, 2018, 5:29pm UTC](https://community.dreamfactory.com/t/getting-invalid-or-unparsable-field-always/4436 "2018-05-29T17:29:13Z")

</div>

I am trying to fetch user data by email for that I am making an api call to this url api/v2/user/custom with email filter, it is not working I am always getting Invalid or, unparsable field error, my filter is set to (e…

---

## [Unable to clear php artisan config: clear](https://community.dreamfactory.com/t/unable-to-clear-php-artisan-config-clear/4358)

<div class="topic-metadata">

**Author:** [@Shivamurugan](https://community.dreamfactory.com/u/Shivamurugan)\
**Replies:** 1\
**Last updated:** [May 16, 2018, 7:26pm UTC](https://community.dreamfactory.com/t/unable-to-clear-php-artisan-config-clear/4358 "2018-05-16T19:26:16Z")

</div>

I’m trying to increase the session expiring time, for that i found this documentation documentation and i have done with 1 and 2 while trying 3rd i receiving an error stats The program ‘php’ can be found in the follow…

---

## [Multi-Service API](https://community.dreamfactory.com/t/multi-service-api/4393)

<div class="topic-metadata">

**Author:** [@shawnbure](https://community.dreamfactory.com/u/shawnbure)\
**Replies:** 0\
**Last updated:** [April 24, 2018, 2:29am UTC](https://community.dreamfactory.com/t/multi-service-api/4393 "2018-04-24T02:29:43Z")

</div>

I have searched the forums and googly-oogly land without finding a good article. I would like to know if there is a great article about the following (I have seen generic articles, approaches to accomplish certain functi…

---

## [Custom Api Response for get method](https://community.dreamfactory.com/t/custom-api-response-for-get-method/4378)

<div class="topic-metadata">

**Author:** [@Shivamurugan](https://community.dreamfactory.com/u/Shivamurugan)\
**Replies:** 0\
**Last updated:** [April 17, 2018, 6:56am UTC](https://community.dreamfactory.com/t/custom-api-response-for-get-method/4378 "2018-04-17T06:56:55Z")

</div>

i want to get the nested array count(like\_by\_recipe\_id) in the response below where getting this response by hitting this below URL : http://localhost:8080/api/v2/mysql/\_table/recipe?related=like\_by\_recipe\_id&filter=id=…

---

## [Different/Unrecognized content type returned for the audio file](https://community.dreamfactory.com/t/different-unrecognized-content-type-returned-for-the-audio-file/4369)

<div class="topic-metadata">

**Author:** [@Ved\_Prakash](https://community.dreamfactory.com/u/Ved_Prakash)\
**Replies:** 0\
**Last updated:** [April 9, 2018, 7:36am UTC](https://community.dreamfactory.com/t/different-unrecognized-content-type-returned-for-the-audio-file/4369 "2018-04-09T07:36:00Z")

</div>

We are facing a problem of wrong content type returned when accessing the uploaded file. We are trying to play the audio file in iOS SDK, expected content-type is audio/mp4 where as dreamfactory returns audio/x-m4a which…

---

## [Parameters not passed while calling a remote stored procedure \[Dreamfactory v2.12\]](https://community.dreamfactory.com/t/parameters-not-passed-while-calling-a-remote-stored-procedure-dreamfactory-v2-12/4349)

<div class="topic-metadata">

**Author:** [@schlivo](https://community.dreamfactory.com/u/schlivo)\
**Replies:** 0\
**Last updated:** [March 23, 2018, 3:07pm UTC](https://community.dreamfactory.com/t/parameters-not-passed-while-calling-a-remote-stored-procedure-dreamfactory-v2-12/4349 "2018-03-23T15:07:39Z")

</div>

My environement info: License Level: OPEN SOURCE DreamFactory Version: 2.12.0 System Database: mysql Install Path: /opt/dreamfactory/ Log Path: /opt/dreamfactory/storage/logs/ Log Mode: single Log Level: DEBUG Ca…

---

## [Scripting Not Activated?!](https://community.dreamfactory.com/t/scripting-not-activated/4229)

<div class="topic-metadata">

**Author:** [@Robert\_Staples](https://community.dreamfactory.com/u/Robert_Staples)\
**Replies:** 5\
**Last updated:** [March 21, 2018, 7:48pm UTC](https://community.dreamfactory.com/t/scripting-not-activated/4229 "2018-03-21T19:48:47Z")

</div>

Hi All, I’ve been using DF for years, in a very simple way, but I’ve recently decided to use it for a real full-scale project. I have a working REST API that woks great, but I need to use a server-side script on POST-i…

---

## [PHP get\_file\_contents POST- no records detected](https://community.dreamfactory.com/t/php-get-file-contents-post-no-records-detected/4320)

<div class="topic-metadata">

**Author:** [@Lorderich](https://community.dreamfactory.com/u/Lorderich)\
**Replies:** 1\
**Last updated:** [March 7, 2018, 3:33pm UTC](https://community.dreamfactory.com/t/php-get-file-contents-post-no-records-detected/4320 "2018-03-07T15:33:09Z")

</div>

Hello, i am trying to post data do a defined rest API. $input = new \\stdClass(); lastname = \_POST\[‘usrlastname’\]; $input-\>familyname = $lastname; firstname = \_POST\[‘usrfirstname’\]; $input-\>firstname = $firstname; $…

---

## [Problème with REST API call and space characters](https://community.dreamfactory.com/t/probleme-with-rest-api-call-and-space-characters/4208)

<div class="topic-metadata">

**Author:** [@Victoria\_Dimitrova](https://community.dreamfactory.com/u/Victoria_Dimitrova)\
**Replies:** 2\
**Last updated:** [December 19, 2017, 8:37am UTC](https://community.dreamfactory.com/t/probleme-with-rest-api-call-and-space-characters/4208 "2017-12-19T08:37:57Z")

</div>

Hi, Currently I have a problem with Dream Factory REST API call when a space is present into the API URL call. I have a get request with a sort parameter that must to be send for SOLR server. This space I don’t know ho…

---

## [Usage of Dream factory?](https://community.dreamfactory.com/t/usage-of-dream-factory/4197)

<div class="topic-metadata">

**Author:** [@Victoria\_Dimitrova](https://community.dreamfactory.com/u/Victoria_Dimitrova)\
**Replies:** 0\
**Last updated:** [December 4, 2017, 2:27pm UTC](https://community.dreamfactory.com/t/usage-of-dream-factory/4197 "2017-12-04T14:27:32Z")

</div>

Hi, I am currently looking for API Manager solution and I juste understood the existance of Dream Factry. I saw that its allow to make REST calls connecting SQL or NoSQL database, but is it also possible to used it onl…

---

## [mySQL API call stored procedure sometimes return error: incorrect number of arguments](https://community.dreamfactory.com/t/mysql-api-call-stored-procedure-sometimes-return-error-incorrect-number-of-arguments/4190)

<div class="topic-metadata">

**Author:** [@qpalzm](https://community.dreamfactory.com/u/qpalzm)\
**Replies:** 0\
**Last updated:** [December 1, 2017, 4:39am UTC](https://community.dreamfactory.com/t/mysql-api-call-stored-procedure-sometimes-return-error-incorrect-number-of-arguments/4190 "2017-12-01T04:39:11Z")

</div>

Hi All, I always encounter this weird error when calling stored procedure on REST API, Failed to call database stored procedure. SQLSTATE\[42000\]: Syntax error or access violation: 1318 Incorrect number of arguments fo…

---

## [Vuejs related development](https://community.dreamfactory.com/t/vuejs-related-development/3997)

<div class="topic-metadata">

**Author:** [@kalmenchia](https://community.dreamfactory.com/u/kalmenchia)\
**Replies:** 2\
**Last updated:** [December 1, 2017, 12:11am UTC](https://community.dreamfactory.com/t/vuejs-related-development/3997 "2017-12-01T00:11:41Z")

</div>

Hi , recently i am learning VueJS, begin to really like the simplicity framework and is easy to pickup i know DF has already have a few like ReactJS , Angular 1 & 2 , Ionic 1 & 2 , may i check is there any sample of Vu…

---

## [How to add Authorization header to external REST API call from server script](https://community.dreamfactory.com/t/how-to-add-authorization-header-to-external-rest-api-call-from-server-script/3774)

<div class="topic-metadata">

**Author:** [@mrvipinkashyap](https://community.dreamfactory.com/u/mrvipinkashyap)\
**Replies:** 1\
**Last updated:** [November 29, 2017, 8:15pm UTC](https://community.dreamfactory.com/t/how-to-add-authorization-header-to-external-rest-api-call-from-server-script/3774 "2017-11-29T20:15:13Z")

</div>

I am trying to call Onesignal push notification REST API by adding custom script to post\_process on DF server script. This is my code \> var url = ‘https://onesignal.com/api/v1/notifications?app\_id=APP\_ID&included\_segme…

---

## [Image uploaded via REST API is always corrupt](https://community.dreamfactory.com/t/image-uploaded-via-rest-api-is-always-corrupt/4164)

<div class="topic-metadata">

**Author:** [@wmcbruce](https://community.dreamfactory.com/u/wmcbruce)\
**Replies:** 1\
**Last updated:** [November 24, 2017, 10:13pm UTC](https://community.dreamfactory.com/t/image-uploaded-via-rest-api-is-always-corrupt/4164 "2017-11-24T22:13:23Z")

</div>

I have been trying for a few hours to get the image upload API to work correctly. Running DF2.10 on Amazon ECS. I can use the files area of the admin portal and upload fine. When I try to upload using the REST API, th…

---

## [REST API POST successful , but i get error 500 "message": "array\_merge(): Argument #1 is not an array"](https://community.dreamfactory.com/t/rest-api-post-successful-but-i-get-error-500-message-array-merge-argument-1-is-not-an-array/4149)

<div class="topic-metadata">

**Author:** [@abhijit](https://community.dreamfactory.com/u/abhijit)\
**Replies:** 2\
**Last updated:** [October 27, 2017, 11:56pm UTC](https://community.dreamfactory.com/t/rest-api-post-successful-but-i-get-error-500-message-array-merge-argument-1-is-not-an-array/4149 "2017-10-27T23:56:36Z")

</div>

As mentioned in title, I am trying to crate a record. I tried various combinations and kept getting the following { “error”: { “code”: 1000, “context”: { “error”: \[ 0 \], “resource”: \[ { “code”: 500, “message…

---

## [NTLM authentication challenge while adding SOAP services](https://community.dreamfactory.com/t/ntlm-authentication-challenge-while-adding-soap-services/4127)

<div class="topic-metadata">

**Author:** [@Akshay\_Nalawade](https://community.dreamfactory.com/u/Akshay_Nalawade)\
**Replies:** 2\
**Last updated:** [October 23, 2017, 5:36am UTC](https://community.dreamfactory.com/t/ntlm-authentication-challenge-while-adding-soap-services/4127 "2017-10-23T05:36:11Z")

</div>

Hi, I am trying to add HTTPS SOAP service which is secured by NTLM authentication. After adding SOAP service I navigate to API Docs tab to check all available APIs. But I cannot see SOAP api in API Docs section which I …

---

## [What causes context.GetServicesAsync().Result to return null?](https://community.dreamfactory.com/t/what-causes-context-getservicesasync-result-to-return-null/4131)

<div class="topic-metadata">

**Author:** [@David\_Austin](https://community.dreamfactory.com/u/David_Austin)\
**Replies:** 0\
**Last updated:** [October 13, 2017, 4:58pm UTC](https://community.dreamfactory.com/t/what-causes-context-getservicesasync-result-to-return-null/4131 "2017-10-13T16:58:40Z")

</div>

I’m trying to get the demo program to Address Book with ASP.NET to run on my local PC. As far as I can tell I have followed all the setup instructions and can access the API using “API Docs” screen. When I run the .net…

---

## [Aggregation Support in MongoDB](https://community.dreamfactory.com/t/aggregation-support-in-mongodb/4122)

<div class="topic-metadata">

**Author:** [@Jameson\_Leal](https://community.dreamfactory.com/u/Jameson_Leal)\
**Replies:** 0\
**Last updated:** [October 4, 2017, 2:33pm UTC](https://community.dreamfactory.com/t/aggregation-support-in-mongodb/4122 "2017-10-04T14:33:37Z")

</div>

Hello, is there any forecast for aggregations to mongodb? Thanks

---

## [Cannot post data to mysql](https://community.dreamfactory.com/t/cannot-post-data-to-mysql/4073)

<div class="topic-metadata">

**Author:** [@EM\_FLK](https://community.dreamfactory.com/u/EM_FLK)\
**Replies:** 1\
**Last updated:** [September 26, 2017, 5:53pm UTC](https://community.dreamfactory.com/t/cannot-post-data-to-mysql/4073 "2017-09-26T17:53:21Z")

</div>

I am attempting to post the following JSON to my mysql database to add a new record. { "resource": { "code": "466767" }, "ids": \[ 0 \], "filter": "string", "params": \[ "string" …

---

## [Multiple Problems while uploading image](https://community.dreamfactory.com/t/multiple-problems-while-uploading-image/4054)

<div class="topic-metadata">

**Author:** [@Ved\_Prakash](https://community.dreamfactory.com/u/Ved_Prakash)\
**Replies:** 1\
**Last updated:** [September 18, 2017, 3:55pm UTC](https://community.dreamfactory.com/t/multiple-problems-while-uploading-image/4054 "2017-09-18T15:55:50Z")

</div>

Hi there, I am trying to upload image to files service, in the process I am running into following problems When trying to upload using axios from react application, I am receiving 403 forbidden error, while other api…

[Next page](https://community.dreamfactory.com/tag/rest/8.md?match_all_tags=true&page=1&tags%5B%5D=rest)
