hello, i need some help to do a GET command with Httjob, i need to send a Get command with headers, Postring work fine but i having some issues with get command, i need to send something like that:
GET http://localhost/api/v2/mysql_fdlh/_table
headers
X-DreamFactory-Session-Token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsInVzZXJfaWQiOjEsImVtYWlsIjoiZnJhbmNvZGxoQGdtYWlsLmNvbSIsImZvcmV2ZXIiOmZhbHNlLCJpc3MiOiJodHRwOlwvXC9sb2NhbGhvc3RcL2FwaVwvdjJcL3N5c3RlbVwvYWRtaW5cL3Nlc3Npb24iLCJpYXQiOjE0NTcwNTEzODEsImV4cCI6MTQ1NzA1NDk4MSwibmJmIjoxNDU3MDUxMzgxLCJqdGkiOiIyZjA0YmRhNzc0NWRlYmU3YjQ0NjkzNjJiN2ZkZDNmYyJ9.zTAcrZWzeHxc5URyn8Hx9MqVIeSS_OVYlNGxCHWV8eEX-DreamFactory-Api-Key: 36fda24fe5588fa4285ac6c6c2fdfbdb6b6bc9834699774c9bf777f706d05a88
im doing like this in B4A
httpTest.Initialize("TraerListadoTablas",Me)
httpTest.GetRequest.InitializeGet("http://"& Main.sErvidor & Main.puErto & "/api/v2/mysql_fdlh/_table")
httpTest.GetRequest.SetHeader("X-DreamFactory-Api-Key:","36fda24fe5588fa4285ac6c6c2fdfbdb6b6bc9834699774c9bf777f706d05a88")'listado de tablas
httpTest.GetRequest.SetHeader("X-DreamFactory-Session-Token:",Main.SessionToken)'listado de tablas
GET http://localhost/api/v2/mysql_fdlh/_table
headers
X-DreamFactory-Session-Token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsInVzZXJfaWQiOjEsImVtYWlsIjoiZnJhbmNvZGxoQGdtYWlsLmNvbSIsImZvcmV2ZXIiOmZhbHNlLCJpc3MiOiJodHRwOlwvXC9sb2NhbGhvc3RcL2FwaVwvdjJcL3N5c3RlbVwvYWRtaW5cL3Nlc3Npb24iLCJpYXQiOjE0NTcwNTEzODEsImV4cCI6MTQ1NzA1NDk4MSwibmJmIjoxNDU3MDUxMzgxLCJqdGkiOiIyZjA0YmRhNzc0NWRlYmU3YjQ0NjkzNjJiN2ZkZDNmYyJ9.zTAcrZWzeHxc5URyn8Hx9MqVIeSS_OVYlNGxCHWV8eEX-DreamFactory-Api-Key: 36fda24fe5588fa4285ac6c6c2fdfbdb6b6bc9834699774c9bf777f706d05a88
im doing like this in B4A
httpTest.Initialize("TraerListadoTablas",Me)
httpTest.GetRequest.InitializeGet("http://"& Main.sErvidor & Main.puErto & "/api/v2/mysql_fdlh/_table")
httpTest.GetRequest.SetHeader("X-DreamFactory-Api-Key:","36fda24fe5588fa4285ac6c6c2fdfbdb6b6bc9834699774c9bf777f706d05a88")'listado de tablas
httpTest.GetRequest.SetHeader("X-DreamFactory-Session-Token:",Main.SessionToken)'listado de tablas