Hi
I have a question. can I insert code of other languages in VBA procedure?
like this in HTTP:
POST /api/Auth/GetToken HTTP/1.1
Host: api.fzo.org.mk
Content-Length: 101
<LogIn>
<UserName>farmacevt@fzo.org.mk</UserName>
<Password>P@ssw0rd</Password>
</LogIn>
or like this in Java-Okhttp:
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "<LogIn>\r\n <UserName>izbran_lekar@fzo.org.mk</UserName>\r\n <Password>P@ssw0rd</Password>\r\n</LogIn>\r\n");
Request request = new Request.Builder()
.url("http://api.fzo.org.mk/api/Auth/GetToken")
.method("POST", body)
.build();
Response response = client.newCall(request).execute();
BECAUSE i HAVE A PROBLEM DOING IT IN VBA
I have a question. can I insert code of other languages in VBA procedure?
like this in HTTP:
POST /api/Auth/GetToken HTTP/1.1
Host: api.fzo.org.mk
Content-Length: 101
<LogIn>
<UserName>farmacevt@fzo.org.mk</UserName>
<Password>P@ssw0rd</Password>
</LogIn>
or like this in Java-Okhttp:
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "<LogIn>\r\n <UserName>izbran_lekar@fzo.org.mk</UserName>\r\n <Password>P@ssw0rd</Password>\r\n</LogIn>\r\n");
Request request = new Request.Builder()
.url("http://api.fzo.org.mk/api/Auth/GetToken")
.method("POST", body)
.build();
Response response = client.newCall(request).execute();
BECAUSE i HAVE A PROBLEM DOING IT IN VBA