Main: Changed http request code for failed POST.

Signed-off-by: matematik7 <domen.ipavec@z-v.si>
GPIO: Fixed upper limit of gpio numbers problem.

Signed-off-by: matematik7 <domen.ipavec@z-v.si>
Rpijs: Added a function for POST api calls.

Signed-off-by: matematik7 <domen.ipavec@z-v.si>