GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Pass to request an empty object instead of true by silvolu · Pull Request #30 · googleapis/google-cloud-node

Conversation

@silvolu

@silvolu silvolu commented Jul 23, 2014

Copy link
Copy Markdown
Contributor

Turns out you need to pass an empty object for json or true for json and an object for body in order to get headers set for json and response parsed from request. The relevant code is here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@silvolu
Pass to request an empty object instead of true
adf5179
This is needed for request to set the content-type header to application/json
rakyll pushed a commit that referenced this pull request Jul 23, 2014
Burcu Dogan
Merge pull request #30 from silvolu/master
e4b8f34
Pass to request an empty object instead of true
@rakyll
rakyll merged commit e4b8f34 into googleapis:master Jul 23, 2014
chingor13 pushed a commit that referenced this pull request Aug 26, 2022
@release-please
chore: release 1.0.5 (#30)
a1b13d7
🤖 I have created a release \*beep\* \*boop\*
---
### [1.0.5](https://www.github.com/googleapis/nodejs-vpc-access/compare/v1.0.4...v1.0.5) (2021-08-17)


### Bug Fixes

* **deps:** google-gax v2.24.1 ([#29](https://www.github.com/googleapis/nodejs-vpc-access/issues/29)) ([670c82a](https://www.github.com/googleapis/nodejs-vpc-access/commit/670c82af3caf3adef7104dab62842ba46f110c85))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
chingor13 pushed a commit that referenced this pull request Sep 13, 2022
@release-please
chore: release 1.0.5 (#30)
631b79f
🤖 I have created a release \*beep\* \*boop\*
---
### [1.0.5](https://www.github.com/googleapis/nodejs-vpc-access/compare/v1.0.4...v1.0.5) (2021-08-17)


### Bug Fixes

* **deps:** google-gax v2.24.1 ([#29](https://www.github.com/googleapis/nodejs-vpc-access/issues/29)) ([670c82a](https://www.github.com/googleapis/nodejs-vpc-access/commit/670c82af3caf3adef7104dab62842ba46f110c85))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
sofisl pushed a commit that referenced this pull request Sep 27, 2022
@happyhuman
Added Video Transcription sample code. (#30)
4c2d984
* Added Video Transcription sample code.

* Code cleanup after running prettier.

* Removed the ^
@sofisl sofisl mentioned this pull request Sep 27, 2022
migrate code from googleapis/nodejs-video-intelligence #3374
Closed
4 tasks
sofisl pushed a commit that referenced this pull request Oct 11, 2022
@greenkeeper @stephenplusplus
Update mocha to the latest version 🚀 (#30)
e24691a
This was referenced Oct 11, 2022
migrate code from googleapis/nodejs-language #3395
Merged
migrate code from googleapis/nodejs-bigquery-data-transfer #3399
Merged
sofisl pushed a commit that referenced this pull request Oct 12, 2022
@alexander-fenster @stephenplusplus
chore: timeout for system test (#30)
baba702
sofisl pushed a commit that referenced this pull request Oct 12, 2022
@alexander-fenster @stephenplusplus
chore: lock files maintenance (#30)
bcc0649
* chore: lock files maintenance

* chore: lock files maintenance
This was referenced Oct 12, 2022
migrate code from googleapis/nodejs-resource-manager #3402
Merged
migrate code from googleapis/nodejs-monitoring-dashboards #3408
Merged
sofisl pushed a commit that referenced this pull request Oct 13, 2022
@JustinBeckwith
feat: bump the release level to ga (#30)
f297135
@sofisl sofisl mentioned this pull request Oct 13, 2022
migrate code from googleapis/nodejs-memcache #3412
Merged
4 tasks
sofisl pushed a commit that referenced this pull request Oct 13, 2022
@yoshi-automation
feat: move ts target to es2018 from es2016 (#30)
c61ba62
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/9b55eba7-85ee-48d5-a737-8b677439db4d/targets

- [ ] To automatically regenerate this PR, check this box.

Source-Link: googleapis/synthtool@1c92077
sofisl pushed a commit that referenced this pull request Oct 13, 2022
@renovate-bot
chore(deps): update dependency sinon to v10 (#30)
89710b3
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [sinon](https://sinonjs.org/) ([source](https://togithub.com/sinonjs/sinon)) | [`^9.2.1` -> `^10.0.0`](https://renovatebot.com/diffs/npm/sinon/9.2.4/10.0.0) | [![age](https://badges.renovateapi.com/packages/npm/sinon/10.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/sinon/10.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/sinon/10.0.0/compatibility-slim/9.2.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/sinon/10.0.0/confidence-slim/9.2.4)](https://docs.renovatebot.com/merge-confidence/) |
| [@types/sinon](https://togithub.com/DefinitelyTyped/DefinitelyTyped) | [`^9.0.9` -> `^10.0.0`](https://renovatebot.com/diffs/npm/@types%2fsinon/9.0.11/10.0.0) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fsinon/10.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fsinon/10.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fsinon/10.0.0/compatibility-slim/9.0.11)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fsinon/10.0.0/confidence-slim/9.0.11)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>sinonjs/sinon</summary>

### [`v10.0.0`](https://togithub.com/sinonjs/sinon/blob/master/CHANGELOG.md#&#8203;1000--2021-03-22)

[Compare Source](https://togithub.com/sinonjs/sinon/compare/v9.2.4...v10.0.0)

==================

-   Upgrade nise to 4.1.0
-   Use [@&#8203;sinonjs/eslint-config](https://togithub.com/sinonjs/eslint-config)[@&#8203;4](https://togithub.com/4) => Adopts ES2017 => Drops support for IE 11, Legacy Edge and legacy Safari

</details>

---

### Configuration

:date: **Schedule**: "after 9am and before 3pm" (UTC).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

:no_bell: **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/nodejs-policy-troubleshooter).
@sofisl sofisl mentioned this pull request Oct 13, 2022
migrate code from googleapis/nodejs-policy-troubleshooter #3414
Merged
4 tasks
sofisl pushed a commit that referenced this pull request Oct 13, 2022
Benjamin E. Coe
fix(deps): google-gax v2.24.1 (#30)
970a342
@sofisl sofisl mentioned this pull request Oct 13, 2022
migrate code from googleapis/nodejs-cloud-shell #3415
Merged
4 tasks
sofisl pushed a commit that referenced this pull request Oct 13, 2022
@gcf-owl-bot
docs(samples): add auto-generated samples for Node with api short nam…
68d52f7
…e in region tag (#30)

* docs(samples): add auto-generated samples for Node with api short name in region tag

PiperOrigin-RevId: 399287285

Source-Link: googleapis/googleapis@1575986

Source-Link: googleapis/googleapis-gen@b27fff6
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjI3ZmZmNjIzYTVkOGQ1ODZiNzAzYjVlNDkxOTg1NmFiZTdjMmViMyJ9

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@sofisl sofisl mentioned this pull request Oct 13, 2022
migrate code from googleapis/nodejs-gke-connect-gateway #3416
Merged
4 tasks
sofisl pushed a commit that referenced this pull request Oct 13, 2022
@gcf-owl-bot
docs(nodejs): version support policy edits (#1346) (#30)
6daf39d
This was referenced Oct 13, 2022
migrate code from googleapis/nodejs-deploy #3417
Merged
migrate code from googleapis/nodejs-dataplex #3418
Merged
sofisl pushed a commit that referenced this pull request Oct 13, 2022
@renovate-bot
chore(deps): update dependency @types/mocha to v10 (#30)
8efd844
sofisl pushed a commit that referenced this pull request Oct 13, 2022
@gcf-owl-bot
chore: remove unused imports (#30)
4fdf2f7
* chore: remove unused imports

PiperOrigin-RevId: 445390897

Source-Link: googleapis/googleapis@ca19f9a

Source-Link: googleapis/googleapis-gen@e06d817
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTA2ZDgxN2Q4MzEzOTA1MjJlNzU5OGU5Y2FmMWMyNGFhOTQyYzY0NCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@sofisl sofisl mentioned this pull request Oct 13, 2022
migrate code from googleapis/nodejs-bigquery-data-exchange #3420
Merged
4 tasks
sofisl pushed a commit that referenced this pull request Oct 13, 2022
@greenkeeper @sofisl
Update mocha to the latest version 🚀 (#30)
aea5376
This was referenced Nov 16, 2022
migrate code from googleapis/nodejs-recaptcha-enterprise #3645
Merged
migrate code from googleapis/nodejs-bigquery-connection #3646
Merged
migrate code from googleapis/nodejs-security-center #3669
Merged
@sofisl sofisl mentioned this pull request Nov 30, 2022
migrate code from googleapis/nodejs-datacatalog #3689
Merged
4 tasks
@sofisl sofisl mentioned this pull request Dec 21, 2022
migrate code from googleapis/nodejs-video-stitcher #3811
Merged
4 tasks
This was referenced Jan 10, 2023
migrate code from googleapis/nodejs-dlp #3837
Merged
migrate code from googleapis/nodejs-run #3838
Merged
migrate code from googleapis/nodejs-vision #3860
Merged
@sofisl sofisl mentioned this pull request Feb 23, 2023
chore: migrate code from googleapis/nodejs-dataform #4015
Merged
4 tasks
This was referenced Sep 13, 2023
migrate code from googleapis/nodejs-apigee-registry #4654
Merged
migrate code from googleapis/nodejs-automl #4655
Closed
migrate code from googleapis/nodejs-automl #4656
Merged
migrate code from googleapis/nodejs-dns #4657
Merged
@takeratta takeratta mentioned this pull request Nov 28, 2023
[Snyk] Fix for 8 vulnerabilities takeratta/google-cloud-node#23
Open
This was referenced Jan 20, 2026
chore: migrate code from googleapis/nodejs-error-reporting #7019
Closed
chore: migrate code from googleapis/nodejs-logging-winston #7024
Closed
@miguelvelezsa miguelvelezsa mentioned this pull request Jan 28, 2026
migrate code from googleapis/nodejs-datastore #7053
Closed
This was referenced Feb 2, 2026
migrate code from googleapis/nodejs-logging-winston #7082
Closed
migrate code from googleapis/nodejs-logging-winston #7129
Merged
@sofisl sofisl mentioned this pull request Feb 5, 2026
migrate code from googleapis/nodejs-datastore #7148
Closed
4 tasks
@GautamSharda GautamSharda mentioned this pull request Feb 5, 2026
migrate code from googleapis/nodejs-error-reporting #7169
Closed
4 tasks
@sofisl sofisl mentioned this pull request Feb 17, 2026
migrate code from googleapis/nodejs-datastore #7263
Merged
4 tasks
This was referenced Feb 23, 2026
migrate code from googleapis/nodejs-error-reporting #7294
Closed
migrate code from googleapis/nodejs-error-reporting #7308
Merged
This was referenced Feb 26, 2026
migrate code from googleapis/nodejs-firestore #7311
Closed
migrate code from googleapis/nodejs-firestore #7410
Merged
@codyoss codyoss mentioned this pull request Mar 5, 2026
migrate code from googleapis/nodejs-projectify #7511
Merged
This was referenced Mar 12, 2026
migrate code from googleapis/nodejs-promisify #7595
Closed
migrate code from googleapis/nodejs-promisify #7596
Merged
migrate code from googleapis/nodejs-common #7597
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@silvolu @rakyll
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.