Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

differences between remote actions/sequences and local app:dev #31

Open
shazron opened this issue May 8, 2024 · 0 comments
Open

differences between remote actions/sequences and local app:dev #31

shazron opened this issue May 8, 2024 · 0 comments

Comments

@shazron
Copy link
Member

shazron commented May 8, 2024

Listing Web and Non-web urls

Remote:

  • web: will show the cdn host
  • non-web: this shows the package/action path for the sequence that is created when an action has require-adobe-auth:true
  • non-web: will always use the adobeioruntime.net host, not the adobeio-static.net cdn host

Local:

  • web: will always show localhost
  • non-web: this does not show the package/action path for the sequence that is created when an action has require-adobe-auth:true
  • non-web: since we don't have a cdn for localhost (no point), the host is the same for both web and non-web

Calling a non-web action/sequence

Remote:

  • adobeio-static.net cdn: will always return 404
  • adobeioruntime.net: will always return 401

Local:

  • will always return 401

Calling a web action/sequence: error response object

Remote:

  • will have both code and error properties, e.g.
{
    "code": "7HlbgAP51Dxwagx2jIZYxS4g9a1ZJeW3",
    "error": "Response is not valid 'message/http'.",
}

Local:

  • will only have the error property, e.g.
{
    "error": "Response is not valid 'message/http'.",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant