Add variable to URL in python for Hue lights

I know you can shorten down the length of this python api call to hue using a variable but I cant figure out the format or the proper term to find the answer in stackoverflow. I would like to learn how to hide the auth token to practice better securi...
more »

2017-04-07 06:04 (1) Answers

REST Service Type if no Data Flow is Involved?

If I have to consume a service that does not involve data flow between me and the application, what is the most appropriate call type to use? (GET vs POST vs PATCH vs PUT) for the service I am trying to invoke? The backend however will do couple of ...
more »

2017-03-20 18:03 (3) Answers

How to send a PUT request using UnityWebRequest?

How do I send a PUT request using UnityWebRequest? The PUT is being sent; Uploaded!! is being printed to the console. However, nothing is being updated. I think I'm formatting myData incorrectly. The actual URL I'm trying to send the PUT to is for...
more »

2017-03-09 06:03 (2) Answers

How to print a generic type in ada?

i am currently trying to print ("Ada.Text_IO.Put") a generic type, but this always fails with errors like that: missing argument for parameter "Item" in call to "Put" declared at, instance at expected type "Standard.I...
more »

2017-01-06 23:01 (2) Answers

PUT method REST API standard - ID in Body or Uri?

In terms of standard is it necessary to add the id to the put method together with the json body item that already contains an id property eg. public void Put(int id, [FromBody]SomeDto someDto) //someDto has Id property The ASP.NET api template ad...
more »

2016-11-15 18:11 (0) Answers