How to get json from rapidminer web service to laravel?

IqbalMalikAlfaruq
IqbalMalikAlfaruq New Altair Community Member
edited November 5 in Community Q&A
hello, i try to connect rapidminer web service to laravel, but it doesnt connect properly and show different from i want. please help, thanks

Best Answer

  • jwpfau
    jwpfau New Altair Community Member
    edited July 2022 Answer ✓
    Hi,

    i guess you are using the Lavarel wrapper and not the GuzzleHttp\Client directly.

    Have you tried something like this?

    Http::withBasicAuth('username', 'password')->get('http://example.com/api/rest/process/foo?bar=42')

    Greetings,
    Jonas

Answers

  • jwpfau
    jwpfau New Altair Community Member
    edited July 2022 Answer ✓
    Hi,

    i guess you are using the Lavarel wrapper and not the GuzzleHttp\Client directly.

    Have you tried something like this?

    Http::withBasicAuth('username', 'password')->get('http://example.com/api/rest/process/foo?bar=42')

    Greetings,
    Jonas
  • IqbalMalikAlfaruq
    IqbalMalikAlfaruq New Altair Community Member
    @jwpfau thanks for reply, i've tried and its working, thanks you so much