glanceapp / glanceapp/glance

SkipJSONValidation in custom-api newRequest function

Open
#843 1 comment 0 reactions 0 assignees View on GitHub
feature request
Dominant language
Go
Stars
37.1k
Forks
1.5k
Avg merge
1h 11m
Merged PRs (30d)
1

Description

### Description

Sometimes I need to get HTML response from normal web page instead of api request, but I don't see any function that can skip json check.
In addition, I also want to add xpath function to parse html response.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the custom-api newRequest function named in the issue and inspect how it validates responses. Clarify the intended behavior for skipping JSON validation and adding XPath parsing for HTML responses; done means both requested use cases are supported and covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.