rowanlupton is a user on You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

should I be parsing out my OrderedCollection ASObj to be a json so that I can return it, or trying to return the straight-up ASObj? in the context rn of an activitypub outbox

@cwebber any guidance? am i asking the wrong questions?

i assume that a get request with appropriate headers to e.g. <handle>/feed should return an OrderedCollection of the relevant query, but I'm having trouble figuring out how to return an ASObj

@rowanlupton oh man are you using my activipy library? Just guessing because "asobj"

@rowanlupton Anyway to return the appropriate object, yes you want to render it as json and then print it to a string for the body. You'll want to set the appropriate content-type, take a look at to see what it should be

rowanlupton @rowanlupton

@cwebber sweet. okay. i think that i have a fetch-only outbox that meets spec now, which is a Huge Step Up

· Web · 1 · 2