net.userRequest

MJS / AC Piece API / network / done
userRequest(method, endpoint, body)

Make an authorized request for a logged in user.

Parameters

Name Type Required Description
method string yes HTTP method (GET, POST, etc).
endpoint string yes Relative API endpoint.
body object no JSON payload for write requests.

Returns

Promise<object>

Examples

No explicit examples yet.

Open prompt to experiment live.

Runtime Notes

No additional runtime notes yet.

Details

No additional details yet.

Live Preview

Embedded AC preview