sasjs / adapter

An adapter for bidirectional SAS® <-> Javascript communication

Home Page:https://adapter.sasjs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support SASVIYA 4

saadjutt01 opened this issue · comments

Currently adapter is not able to perform sasjs auth against SASVIYA 4.
Adapter is developed against SASVIYA 3.5 and never tested against SASVIYA 4, before.

Error message while try to perform sasjs auth, it says loginRequiredError
image

Identified the difference in request

Current request has headers:

accept: /
content-type: multipart/form-data;

image

VIYA4 docs says to have:

Accept: application/json
Content-Type: application/x-www-form-urlencoded
image

ref links:

We should probably change that header, and hopefully it will still work on 3.5